import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {ClassComponent} from './class/class/class.component';
import {SideNavComponent} from './side-nav/side-nav.component';
import {AppComponent} from './app.component';
import {SigninComponent} from './auth/signin/signin.component';
import {SignupComponent} from './auth/signup/signup.component';


const routes: Routes = [
  // {path: '', component: AppComponent},
  {path: 'class/class', component: ClassComponent},
  {path: 'login', component: SigninComponent},
  {path: 'sign-up', component: SignupComponent}
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule {
}
